<?php
use \app\service\DataHelper;
use \app\service\UrlService;
use \app\service\StaticService;

?>

<table class="table table-striped">
	  <thead>
	  	<th>id</th>
	  	<th>用户名</th>
	  	<th>访问地址</th>
	  	<th>浏览器类型</th>
	  	<th>ip地址</th>
	  	<th>访问参数</th>
	  	<th>访问时间</th>
	  </thead>
	  <tbody>
	  	<?php foreach ($visitlog as $key => $value): ?>
	  		<tr>
		  		<td><?= $value->id; ?></td>
		  		<td><?= $value->name; ?></td>
		  		<td><?= $value->url; ?></td>
		  		<td><?= $value->ua; ?></td>
		  		<td><?= $value->ip; ?></td>
		  		<td><?= $value->request_params; ?></td>
		  		<td><?= $value->create_time; ?></td>
	  		</tr>
	  	<?php endforeach ?>
	  </tbody>
</table>
<!--  fenye -->
	  <?= yii\widgets\LinkPager::widget([
	  	'pagination'=>$page,
	  ]) ?>